package com.knowledgepoint.study.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 一级知识点分类表实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("knowledge_point_category_level_one")
public class KnowledgePointCategoryLevelOne extends BaseEntity {
    
    /**
     * 一级分类ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    /**
     * 分类名称
     */
    private String name;
    
    /**
     * 分类描述
     */
    private String description;
    
    /**
     * 分类图标
     */
    private String icon;
    
    /**
     * 排序顺序
     */
    private Integer sortOrder;
}
